package org.nicholasjones.radiocontroller.web.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Entity
@Table(name="CONFIGURATION")
public class Configuration extends BaseEntity {

    @Id
    @Column(name="KEY")
    private String id;

    @Column(name="CONFIG_VALUE")
    private String value;

    @Override
    public Serializable getId() {
        return id;
    }

    @Override
    public void setId(Serializable id) {
        this.id = (String) id;
    }
}
